/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cms.dataaccess;

import cms.exceptions.HibernateAccessLayerException;
import dto.Profile;
import java.util.List;

/**
 *
 * @author TauPo
 */
public interface ProfileDAO {
       public Profile findProfile(String userName) throws HibernateAccessLayerException;
       public List<Profile> findAllProfile() throws HibernateAccessLayerException ;
       public void insertProfile(Profile profile) throws HibernateAccessLayerException;
       public void updateProfile(Profile profile) throws HibernateAccessLayerException;
       public void deleteProfile(Profile profile) throws HibernateAccessLayerException;
       public List<Profile> findByCustomizeQuery (String queryString) throws HibernateAccessLayerException ;
    
}
